package com.bitcommunity.pojo;

import lombok.Data;

import java.sql.Timestamp;


/**
 * @ClassName User
 * @Description TODO
 * @date 2023/11/14 14:23
 * @Author Squareroot_2
 */
@Data
public class User {
    private int uid;        //user id
    private int bitid;      //bit id 学号
    private String email;   //暂时没用
    private String password;//密码的加盐哈希值
    private String salt;    //盐：长度为20的随机字符串
    private Timestamp create_time;      //创建时间
    private Timestamp update_time;      //修改时间
    private Timestamp last_login_time;  //最后登录时间
    private int status;     //用户状态：0 -> 不在线, 1 -> 在线
    private int is_deleted; //用户是否注销：0 -> 活跃, 1 -> 注销
}
